﻿<%@ Page Language="C#" MasterPageFile="~/MasterPageSERIX.Master" AutoEventWireup="true"
    CodeBehind="MedidasIndicadoresRME.aspx.cs" Inherits="SERIX.MedidasIndicadoresRME"
    Title="Medidas do Indicador" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="97%" border="0" cellspacing="0" cellpadding="2" align="center">
        <tr>
            <td class="secao_titulo" style="width: 284px">
                Medidas do Indicador<hr class="linhaHorizontal" style="width: 740px" />
            </td>
        </tr>
    </table>
    <table align="center" border="0" cellpadding="2" cellspacing="0" width="97%">
        <tr>
            <td align="center" class="grid_titulo">
                <span style="color: #FFFFFF">Indicador: </span>
                <asp:Label ID="Label1" runat="server" Text="Indicador de Teste"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="center" class="grid_titulo">
                <span style="color: #FFFFFF">Tipo: </span>
                <asp:Label ID="Label2" runat="server" Text="Planejado"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="center" style="color: #000000">
                <asp:GridView ID="gridView" runat="server" AutoGenerateColumns="False" CssClass="grid"
                    PageSize="5" EmptyDataText="Nenhum registro encontrado." 
                    AllowPaging="True" DataSourceID="ObjDS" onrowdatabound="gridView_RowDataBound">
                    <AlternatingRowStyle CssClass="row_alter" />
                    <Columns>
                        <asp:BoundField DataField="IDT_IND" HeaderText="IDT1" Visible="False" />
                        <asp:BoundField DataField="IDT_TPO_MED" HeaderText="IDT2" Visible="False" />
                        <asp:BoundField DataField="DSC_TPO_MED" HeaderText="Tipo da Medida">
                            <ItemStyle Width="720px"></ItemStyle>
                        </asp:BoundField>
                        <asp:BoundField DataField="VALOR" HeaderText="Realizado">
                            <ItemStyle Width="320px"></ItemStyle>
                        </asp:BoundField>
                        <asp:TemplateField FooterText="Detalhes" HeaderText="Detalhes" ItemStyle-Width="70px">
                            <ItemTemplate>
                                <asp:HyperLink ID="Detalhes_HyperLink" runat="server" ImageUrl="Imagens/botoes/Detail.png">Detalhes</asp:HyperLink>
                            </ItemTemplate>
                            <HeaderStyle HorizontalAlign="Center" />
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                    </Columns>
                    <EmptyDataRowStyle CssClass="emptyrow" />
                    <FooterStyle CssClass="footer" />
                    <HeaderStyle CssClass="header" />
                    <PagerStyle CssClass="pager" />
                    <RowStyle CssClass="row" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td align="center" style="color: #000000">
                <asp:ObjectDataSource ID="ObjDS" runat="server" SelectMethod="ObterDadosGrid" TypeName="SERIX.MedidasIndicadoresRME">
                </asp:ObjectDataSource>
                &nbsp;
            </td>
        </tr>
    </table>
</asp:Content>
